import Vue from 'vue'
import App from './App.vue'
import Vant from 'vant';
import 'vant/lib/index.css';
import VueRouter from 'vue-router';
import routes from './router/routers';
import SIdentify from './components/identify';
import axios from 'axios';
import VueAxios from 'vue-axios';
import http from "./http/http.js";

Vue.prototype.$axios=http
Vue.use(VueAxios,axios)
Vue.use(Vant);
Vue.config.productionTip = false
Vue.use(VueRouter)
Vue.use(SIdentify)
//创建路由
const router = new VueRouter({
    routes: routes,
    mode: "history",//去掉#
})
new Vue({
    render: h => h(App),
    router: router,
}).$mount('#app')


